﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace WebApplication1.Classes
{
    public class BaseRestrictedPage : Page
    {
        protected virtual void Page_Load(object sender, EventArgs e)
        {
            if (!Usuario.IsLogged)
                Response.Redirect("~/Account/Login.aspx");	
        }
    }
}